source/datapak/package.d(222,21): Error: `temp.ptr` cannot be used in `@safe` code, use `&temp[0]` instead source/datapak/package.d(225,20): Error: cast from `void*` to `Index*` not allowed in safe code source/datapak/package.d(226,13): Error: pointer arithmetic not allowed in @safe functions source/datapak/package.d(228,33): Error: pointer slicing not allowed in safe functions source/datapak/package.d(229,14): Error: pointer arithmetic not allowed in @safe functions source/datapak/package.d(255,6): Error: `@safe` destructor `~this` cannot access `__gshared` data `ZSTD_freeCStream` source/datapak/package.d(257,6): Error: `@safe` destructor `~this` cannot access `__gshared` data `ZSTD_freeDStream` source/datapak/package.d(358,18): Error: `@safe` function `initComp` cannot access `__gshared` data `ZSTD_createCStream` source/datapak/package.d(361,5): Error: `@safe` function `initComp` cannot access `__gshared` data `ZSTD_CCtx_reset` source/datapak/package.d(362,5): Error: `@safe` function `initComp` cannot access `__gshared` data `ZSTD_CCtx_setParameter` source/datapak/package.d(363,28): Error: `this.readBuf.ptr` cannot be used in `@safe` code, use `&this.readBuf[0]` instead source/datapak/package.d(366,30): Error: `this.compBuf.ptr` cannot be used in `@safe` code, use `&this.compBuf[0]` instead source/datapak/package.d(373,29): Error: `this.readBuf.ptr` cannot be used in `@safe` code, use `&this.readBuf[0]` instead source/datapak/package.d(376,30): Error: `this.compBuf.ptr` cannot be used in `@safe` code, use `&this.compBuf[0]` instead source/datapak/package.d(391,18): Error: `@safe` function `initDecomp` cannot access `__gshared` data `ZSTD_createDStream` source/datapak/package.d(392,5): Error: `@safe` function `initDecomp` cannot access `__gshared` data `ZSTD_initDStream` source/datapak/package.d(395,28): Error: `this.readBuf.ptr` cannot be used in `@safe` code, use `&this.readBuf[0]` instead source/datapak/package.d(403,29): Error: `this.readBuf.ptr` cannot be used in `@safe` code, use `&this.readBuf[0]` instead source/datapak/package.d(528,18): Error: `@safe` function `finalize` cannot access `__gshared` data `ZSTD_compressStream2` source/datapak/package.d(530,32): Error: pointer slicing not allowed in safe functions /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.